package pdd.beans;

import java.io.Serializable;

/**
 * Created by gtx on 2018/6/25.
 * 拼多多sku
 * @author gtx
 * @since 0.0.1
 */
public class Sku implements Serializable {
    /**
     * 商品规格列表
     */
    private String spec_id_list;
    /**
     * 重量，单位为g
     */
    private Long weight;
    /**
     * 商品sku库存初始数量，后续库存update只使用stocks.update接口进行调用
     */
    private Integer quantity;
    /**
     * 商品sku外部编码
     */
    private String out_sku_sn;
    /**
     * sku预览图，预览图尺寸：等宽高，且高度不低于480px，
     * 现已支持1M大小，越清晰越好卖，SKU预览图格式：仅支持JPG,PNG格式
     */
    private String thumb_url;
    /**
     * 商品团购价格 分
     */
    private Long multi_price;
    /**
     * 商品单买价格 分
     */
    private Long price;
    /**
     * sku购买限制，只入参999
     */
    private Integer limit_quantity;
    /**
     * sku上架状态，0-已下架，1-上架中
     */
    private Integer is_onsale;

    public String getSpec_id_list() {
        return spec_id_list;
    }

    public void setSpec_id_list(String spec_id_list) {
        this.spec_id_list = spec_id_list;
    }

    public Long getWeight() {
        return weight;
    }

    public void setWeight(Long weight) {
        this.weight = weight;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getOut_sku_sn() {
        return out_sku_sn;
    }

    public void setOut_sku_sn(String out_sku_sn) {
        this.out_sku_sn = out_sku_sn;
    }

    public String getThumb_url() {
        return thumb_url;
    }

    public void setThumb_url(String thumb_url) {
        this.thumb_url = thumb_url;
    }

    public Long getMulti_price() {
        return multi_price;
    }

    public void setMulti_price(Long multi_price) {
        this.multi_price = multi_price;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Integer getLimit_quantity() {
        return limit_quantity;
    }

    public void setLimit_quantity(Integer limit_quantity) {
        this.limit_quantity = limit_quantity;
    }

    public Integer getIs_onsale() {
        return is_onsale;
    }

    public void setIs_onsale(Integer is_onsale) {
        this.is_onsale = is_onsale;
    }
}
